package com.baoleme.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
@Data
public class EmployeeLoginDTO {
    @NotNull(message = "用户名不能为空")
    private String username;
    @Length(min = 6, max = 16, message = "密码长度在6-16位之间")
    private String password;
}
